package com.oauth.application.client.rpc;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.oauth.application.client.beans.ApplicationClientBean;

public interface ApplicationRemoteServiceAsync {

	void getMyApplications(AsyncCallback<List<ApplicationClientBean>> callback);

	void getUnSubscribedApplications(AsyncCallback<List<ApplicationClientBean>> callback);

	void subscribeToApplication(Long pApplicationId, AsyncCallback<String> callback);

	void unSubscribeFromApplication(Long pApplicationId, AsyncCallback<String> callback);

}
